import request from "axios"
export function getDetail(name,tab) {
  return new Promise((resolve, reject) => {
    request({
      url: `http://www.adbubo.com/movie/v1/back?key=${name}&tab=${tab}`,
      method: "GET",
    }).then((data) => {
      resolve(data)
    }).catch((data) => {
      reject(data)
    })
  });
}
